import request from '@/utils/request'

// 查询重复案件识别列表
export function getCaseRepeatList(query) {
  return request({
    url: '/caseRepeat/cawCaseRepeat/list',
    method: 'get',
    params: query
  })
}
// 查询重复案件识别详情
export function getCaseRepeatDetail(query) {
  return request({
    url: '/caseRepeat/cawCaseRepeat',
    method: 'get',
    params: query
  })
}

// 新增重复案件识别
export function addCawCaseRepeat(data) {
  return request({
    url: '/caseRepeat/cawCaseRepeat',
    method: 'post',
    data: data
  })
}

// 修改重复案件识别
export function updateCawCaseRepeat(data) {
  return request({
    url: '/caseRepeat/cawCaseRepeat',
    method: 'put',
    data: data
  })
}

// 批量修改重复案件识别
export function updateBatchRepeatFlag(data) {
  return request({
    url: '/caseRepeat/cawCaseRepeat/updateBatchRepeatFlag',
    method: 'put',
    data: data
  })
}

// 删除重复案件识别
export function deleteCawCaseRepeat(data) {
  return request({
    url: '/caseRepeat/cawCaseRepeat',
    method: 'delete',
    data: data
  })
}

// 导出重复案件识别列表
export function exportCawCaseRepeat(data) {
  return request({
    url: '/caseRepeat/cawCaseRepeat/export',
    method: 'post',
    data: data
  })
}


